/*
**
**			Heroes IV
**	  Copyright 2001, The 3DO Company
**
**      dialog_altar.h
*/
// kill the 255+ character identifier warning.  Templates tend to exceed that easily.

#ifndef DIALOG_ALTAR_H_INCLUDED
#define DIALOG_ALTAR_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <vector>
#include "bitmap_group_ptr.h"
#include "game_window.h"
#include "button_group.h"
#include "skill.h"

class t_army;
class t_button;
class t_creature_stack;
class t_creature_select_window;
class t_hero;
class t_player;
class t_stationary_adventure_object;
class t_text_window;

class t_dialog_altar : public t_window
{
public:
	t_dialog_altar( t_window* parent );
  void init_dialog( std::vector<t_hero*> const& heroes, t_skill_type skill_type, t_stationary_adventure_object * parent_object );
    
protected:

	t_bitmap_group_ptr          m_bitmaps_ptr;
	t_creature_select_window*   m_hero_selection_window;
    t_hero*                     m_hero_ptr;
	std::string                 m_intro_text;
    t_stationary_adventure_object *   m_parent_ptr;
	int                         m_selected_index;
	t_skill_type                m_skill_type;

    void cancel_click( t_button* button );
    void close_click( t_button* button );
    void hero_selection_change( t_creature_select_window*, t_creature_stack* );
};

#endif // DIALOG_ALTAR_H_INCLUDED
